<?php $this->pageTitle=Yii::app()->name . ' - Login'; ?>

<h1>Login</h1>

<div class="yiiForm">
    <?php echo CHtml::beginForm(); ?>

    <?php echo CHtml::errorSummary($form); ?>

    <div class="simple">
        <?php echo CHtml::activeLabel($form,'email'); ?>
        <?php echo CHtml::activeTextField($form,'email'); ?>
    </div>

    <div class="simple">
        <?php echo CHtml::activeLabel($form,'password'); ?>
        <?php echo CHtml::activePasswordField($form,'password'); ?>
    </div>

    <div class="action">
        <?php echo CHtml::link(CHtml::activeLabel($form,'forgetPassword'), array('user/forgetpassword'))?>
    </div>

    <!--
    <div class="action">
        <?php echo CHtml::activeCheckBox($form,'rememberMe'); ?>
        <?php echo CHtml::activeLabel($form,'rememberMe'); ?>
    </div>
    -->
    <div class="action">
        <br/>
        <?php echo CHtml::submitButton('Login'); ?>
    </div>
    
    <?php echo CHtml::endForm(); ?>

</div><!-- yiiForm -->